/*
 * jxSwing Project (2014)
 * 
 * by Denilson Edinaldo Pinto
 * 
 * LGPL
 * Copyright (C) 2014
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Lesser General Public License for more details.
 * 
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 */
package org.jxSwing.component.chooser;

import java.io.File;

import javax.swing.filechooser.FileSystemView;

import org.jxSwing.component.chooser.fileFilter.FileFilterFactory;

/**
 * @author Denilson Edinaldo Pinto
 * @porject jxSwing
 * @package org.jxSwing.component.chooser
 * @date 04/12/2014 - 21:02:15
 */
public class PresentationFileChooser extends FileChooser {
	
	private static final long serialVersionUID = 605788673951477024L;
	
	/**
	 * 
	 */
	public PresentationFileChooser() {
	
		super();
		
		init();
	}
	
	/**
	 * @param useFilePreview
	 */
	public PresentationFileChooser(boolean useFilePreview) {
	
		super(useFilePreview);
		
		init();
	}
	
	/**
	 * @param currentDirectory
	 */
	public PresentationFileChooser(File currentDirectory) {
	
		super(currentDirectory);
		
		init();
	}
	
	/**
	 * @param currentDirectory
	 * @param useFilePreview
	 */
	public PresentationFileChooser(File currentDirectory, boolean useFilePreview) {
	
		super(currentDirectory, useFilePreview);
		
		init();
	}
	
	/**
	 * @param currentDirectory
	 * @param fsv
	 */
	public PresentationFileChooser(File currentDirectory, FileSystemView fsv) {
	
		super(currentDirectory, fsv);
		
		init();
	}
	
	/**
	 * @param currentDirectory
	 * @param fsv
	 * @param useFilePreview
	 */
	public PresentationFileChooser(File currentDirectory, FileSystemView fsv, boolean useFilePreview) {
	
		super(currentDirectory, fsv, useFilePreview);
		
		init();
	}
	
	/**
	 * @param fsv
	 */
	public PresentationFileChooser(FileSystemView fsv) {
	
		super(fsv);
		
		init();
	}
	
	/**
	 * @param fsv
	 * @param useFilePreview
	 */
	public PresentationFileChooser(FileSystemView fsv, boolean useFilePreview) {
	
		super(fsv, useFilePreview);
		
		init();
	}
	
	/**
	 * @param currentDirectoryPath
	 */
	public PresentationFileChooser(String currentDirectoryPath) {
	
		super(currentDirectoryPath);
		
		init();
	}
	
	/**
	 * @param currentDirectoryPath
	 * @param useFilePreview
	 */
	public PresentationFileChooser(String currentDirectoryPath, boolean useFilePreview) {
	
		super(currentDirectoryPath, useFilePreview);
		
		init();
	}
	
	/**
	 * @param currentDirectoryPath
	 * @param fsv
	 */
	public PresentationFileChooser(String currentDirectoryPath, FileSystemView fsv) {
	
		super(currentDirectoryPath, fsv);
		
		init();
	}
	
	/**
	 * @param currentDirectoryPath
	 * @param fsv
	 * @param useFilePreview
	 */
	public PresentationFileChooser(String currentDirectoryPath, FileSystemView fsv, boolean useFilePreview) {
	
		super(currentDirectoryPath, fsv, useFilePreview);
		
		init();
	}
	
	/**
	 * 
	 */
	private void init() {
	
		setAcceptAllFileFilterUsed(false);
		setFileFilter(FileFilterFactory.getPresentationFileFilter());
	}
}
